//
//  NSArray+TW.h
//  TWHomework-WeChat
//
//  Created by wzb on 2019/11/15.
//  Copyright © 2019 WZB. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSArray (TW)

/**
 *  过滤数组元素，将 block 返回 YES 的 item 重新组装成一个数组返回
 */
- (NSArray *)tw_filterWithBlock:(BOOL (^)(id))block;

@end

NS_ASSUME_NONNULL_END
